@extends('layouts.admin-base')


@section('css')
@stop

@section('content')

    {{--<div id="flashContent">--}}
        {{--<p>--}}
            {{--To view this page ensure that Adobe Flash Player version--}}
            {{--10.1.0 or greater is installed.--}}
        {{--</p>--}}
        {{--<script type="text/javascript">--}}
            {{--var pageHost = ((document.location.protocol == "https:") ? "https://" : "http://");--}}
            {{--document.write("<a href='http://www.adobe.com/go/getflashplayer'><img src='"--}}
                    {{--+ pageHost + "www.adobe.com/images/shared/download_buttons/get_flash_player.gif' alt='Get Adobe Flash player' /></a>" );--}}
        {{--</script>--}}
    {{--</div>--}}

    <iframe id="J-iframe" src="/admin/index" frameborder="0" width="100%" height="100%"></iframe>



@stop

@section('js')
    {{--<script src="/dist/admin/js/swfobject.js"></script>--}}
    {{--<script src="/dist/admin/js/client.js"></script>--}}
    <script>
        function notice_iframe_height(height) {
            $('#J-iframe').height(height);
        }

        $(function () {
            $('.J-link').click(function () {
                var href = $(this).attr('href');
                $('#J-iframe').attr('src', href);
                return false;
            });
        });
    </script>

    {{--<script type="text/javascript">--}}
        {{--// For version detection, set to min. required Flash Player version, or 0 (or 0.0.0), for no version detection.--}}
        {{--var swfVersionStr = "10.1.0";--}}
        {{--// To use express install, set to playerProductInstall.swf, otherwise the empty string.--}}
        {{--var xiSwfUrlStr = "/dist/admin/swf/playerProductInstall.swf";--}}
        {{--var flashvars = {};--}}
        {{--var params = {};--}}
        {{--params.quality = "high";--}}
        {{--params.bgcolor = "#ffffff";--}}
        {{--params.allowscriptaccess = "always";--}}
        {{--params.allowfullscreen = "true";--}}
        {{--var attributes = {};--}}
        {{--attributes.id = "Client";--}}
        {{--attributes.name = "Client";--}}
        {{--attributes.align = "middle";--}}
        {{--swfobject.embedSWF(--}}
                {{--"/dist/admin/swf/dlxt.swf", "flashContent",--}}
                {{--"600", "400",--}}
                {{--swfVersionStr, xiSwfUrlStr,--}}
                {{--flashvars, params, attributes);--}}
        {{--// JavaScript enabled so display the flashContent div in case it is not replaced with a swf object.--}}
        {{--swfobject.createCSS("#flashContent", "display:block;text-align:left;");--}}
    {{--</script>--}}

@stop